package com.the4man.framework.model.gen;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by lenovo on 2017/12/11.
 */
public class CardRecordHistoryExampleBase {
    protected String orderByClause;
    protected boolean distinct;
    protected List<Criteria> oredCriteria = new ArrayList();
    protected int limitStart = -1;
    protected int rowsPerPage = -1;

    public CardRecordHistoryExampleBase() {
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return this.orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return this.distinct;
    }

    public List<CardRecordHistoryExampleBase.Criteria> getOredCriteria() {
        return this.oredCriteria;
    }

    public void or(CardRecordHistoryExampleBase.Criteria criteria) {
        this.oredCriteria.add(criteria);
    }

    public CardRecordHistoryExampleBase.Criteria or() {
        CardRecordHistoryExampleBase.Criteria criteria = this.createCriteriaInternal();
        this.oredCriteria.add(criteria);
        return criteria;
    }

    public CardRecordHistoryExampleBase.Criteria createCriteria() {
        CardRecordHistoryExampleBase.Criteria criteria = this.createCriteriaInternal();
        if(this.oredCriteria.size() == 0) {
            this.oredCriteria.add(criteria);
        }

        return criteria;
    }

    protected CardRecordHistoryExampleBase.Criteria createCriteriaInternal() {
        CardRecordHistoryExampleBase.Criteria criteria = new CardRecordHistoryExampleBase.Criteria();
        return criteria;
    }

    public void clear() {
        this.oredCriteria.clear();
        this.orderByClause = null;
        this.distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart = limitStart;
    }

    public int getLimitStart() {
        return this.limitStart;
    }

    public void setRowsPerPage(int rowsPerPage) {
        this.rowsPerPage = rowsPerPage;
    }

    public int getRowsPerPage() {
        return this.rowsPerPage;
    }

    public static class Criteria extends CardRecordHistoryExampleBase.GeneratedCriteria {
        protected Criteria() {
        }
    }

    public static class Criterion {
        private String condition;
        private Object value;
        private Object secondValue;
        private boolean noValue;
        private boolean singleValue;
        private boolean betweenValue;
        private boolean listValue;
        private String typeHandler;

        public String getCondition() {
            return this.condition;
        }

        public Object getValue() {
            return this.value;
        }

        public Object getSecondValue() {
            return this.secondValue;
        }

        public boolean isNoValue() {
            return this.noValue;
        }

        public boolean isSingleValue() {
            return this.singleValue;
        }

        public boolean isBetweenValue() {
            return this.betweenValue;
        }

        public boolean isListValue() {
            return this.listValue;
        }

        public String getTypeHandler() {
            return this.typeHandler;
        }

        protected Criterion(String condition) {
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if(value instanceof List) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }

        }

        protected Criterion(String condition, Object value) {
            this(condition, value, (String)null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, (String)null);
        }
    }

    protected abstract static class GeneratedCriteria {
        protected List<CardRecordHistoryExampleBase.Criterion> criteria = new ArrayList();

        protected GeneratedCriteria() {
        }

        public boolean isValid() {
            return this.criteria.size() > 0;
        }

        public List<CardRecordHistoryExampleBase.Criterion> getAllCriteria() {
            return this.criteria;
        }

        public List<CardRecordHistoryExampleBase.Criterion> getCriteria() {
            return this.criteria;
        }

        protected void addCriterion(String condition) {
            if(condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            } else {
                this.criteria.add(new CardRecordHistoryExampleBase.Criterion(condition));
            }
        }

        protected void addCriterion(String condition, Object value, String property) {
            if(value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            } else {
                this.criteria.add(new CardRecordHistoryExampleBase.Criterion(condition, value));
            }
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if(value1 != null && value2 != null) {
                this.criteria.add(new CardRecordHistoryExampleBase.Criterion(condition, value1, value2));
            } else {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
        }

        public CardRecordHistoryExampleBase.Criteria andIdIsNull() {
            this.addCriterion("id is null");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andIdIsNotNull() {
            this.addCriterion("id is not null");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andIdEqualTo(String value) {
            this.addCriterion("id =", value, "id");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andIdNotEqualTo(String value) {
            this.addCriterion("id <>", value, "id");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andIdGreaterThan(String value) {
            this.addCriterion("id >", value, "id");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andIdGreaterThanOrEqualTo(String value) {
            this.addCriterion("id >=", value, "id");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andIdLessThan(String value) {
            this.addCriterion("id <", value, "id");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andIdLessThanOrEqualTo(String value) {
            this.addCriterion("id <=", value, "id");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andIdLike(String value) {
            this.addCriterion("id like", value, "id");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andIdNotLike(String value) {
            this.addCriterion("id not like", value, "id");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andIdIn(List<String> values) {
            this.addCriterion("id in", values, "id");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andIdNotIn(List<String> values) {
            this.addCriterion("id not in", values, "id");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andIdBetween(String value1, String value2) {
            this.addCriterion("id between", value1, value2, "id");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andIdNotBetween(String value1, String value2) {
            this.addCriterion("id not between", value1, value2, "id");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andEmpIdIsNull() {
            this.addCriterion("emp_id is null");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andEmpIdIsNotNull() {
            this.addCriterion("emp_id is not null");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andEmpIdEqualTo(String value) {
            this.addCriterion("emp_id =", value, "empId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andEmpIdNotEqualTo(String value) {
            this.addCriterion("emp_id <>", value, "empId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andEmpIdGreaterThan(String value) {
            this.addCriterion("emp_id >", value, "empId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andEmpIdGreaterThanOrEqualTo(String value) {
            this.addCriterion("emp_id >=", value, "empId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andEmpIdLessThan(String value) {
            this.addCriterion("emp_id <", value, "empId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andEmpIdLessThanOrEqualTo(String value) {
            this.addCriterion("emp_id <=", value, "empId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andEmpIdLike(String value) {
            this.addCriterion("emp_id like", value, "empId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andEmpIdNotLike(String value) {
            this.addCriterion("emp_id not like", value, "empId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andEmpIdIn(List<String> values) {
            this.addCriterion("emp_id in", values, "empId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andEmpIdNotIn(List<String> values) {
            this.addCriterion("emp_id not in", values, "empId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andEmpIdBetween(String value1, String value2) {
            this.addCriterion("emp_id between", value1, value2, "empId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andEmpIdNotBetween(String value1, String value2) {
            this.addCriterion("emp_id not between", value1, value2, "empId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andDevIdIsNull() {
            this.addCriterion("dev_id is null");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andDevIdIsNotNull() {
            this.addCriterion("dev_id is not null");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andDevIdEqualTo(String value) {
            this.addCriterion("dev_id =", value, "devId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andDevIdNotEqualTo(String value) {
            this.addCriterion("dev_id <>", value, "devId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andDevIdGreaterThan(String value) {
            this.addCriterion("dev_id >", value, "devId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andDevIdGreaterThanOrEqualTo(String value) {
            this.addCriterion("dev_id >=", value, "devId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andDevIdLessThan(String value) {
            this.addCriterion("dev_id <", value, "devId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andDevIdLessThanOrEqualTo(String value) {
            this.addCriterion("dev_id <=", value, "devId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andDevIdLike(String value) {
            this.addCriterion("dev_id like", value, "devId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andDevIdNotLike(String value) {
            this.addCriterion("dev_id not like", value, "devId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andDevIdIn(List<String> values) {
            this.addCriterion("dev_id in", values, "devId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andDevIdNotIn(List<String> values) {
            this.addCriterion("dev_id not in", values, "devId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andDevIdBetween(String value1, String value2) {
            this.addCriterion("dev_id between", value1, value2, "devId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andDevIdNotBetween(String value1, String value2) {
            this.addCriterion("dev_id not between", value1, value2, "devId");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andTypeIsNull() {
            this.addCriterion("type is null");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andTypeIsNotNull() {
            this.addCriterion("type is not null");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andTypeEqualTo(Short value) {
            this.addCriterion("type =", value, "type");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andTypeNotEqualTo(Short value) {
            this.addCriterion("type <>", value, "type");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andTypeGreaterThan(Short value) {
            this.addCriterion("type >", value, "type");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andTypeGreaterThanOrEqualTo(Short value) {
            this.addCriterion("type >=", value, "type");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andTypeLessThan(Short value) {
            this.addCriterion("type <", value, "type");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andTypeLessThanOrEqualTo(Short value) {
            this.addCriterion("type <=", value, "type");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andTypeIn(List<Short> values) {
            this.addCriterion("type in", values, "type");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andTypeNotIn(List<Short> values) {
            this.addCriterion("type not in", values, "type");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andTypeBetween(Short value1, Short value2) {
            this.addCriterion("type between", value1, value2, "type");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andTypeNotBetween(Short value1, Short value2) {
            this.addCriterion("type not between", value1, value2, "type");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateLogIsNull() {
            this.addCriterion("update_log is null");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateLogIsNotNull() {
            this.addCriterion("update_log is not null");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateLogEqualTo(String value) {
            this.addCriterion("update_log =", value, "updateLog");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateLogNotEqualTo(String value) {
            this.addCriterion("update_log <>", value, "updateLog");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateLogGreaterThan(String value) {
            this.addCriterion("update_log >", value, "updateLog");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateLogGreaterThanOrEqualTo(String value) {
            this.addCriterion("update_log >=", value, "updateLog");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateLogLessThan(String value) {
            this.addCriterion("update_log <", value, "updateLog");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateLogLessThanOrEqualTo(String value) {
            this.addCriterion("update_log <=", value, "updateLog");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateLogLike(String value) {
            this.addCriterion("update_log like", value, "updateLog");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateLogNotLike(String value) {
            this.addCriterion("update_log not like", value, "updateLog");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateLogIn(List<String> values) {
            this.addCriterion("update_log in", values, "updateLog");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateLogNotIn(List<String> values) {
            this.addCriterion("update_log not in", values, "updateLog");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateLogBetween(String value1, String value2) {
            this.addCriterion("update_log between", value1, value2, "updateLog");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateLogNotBetween(String value1, String value2) {
            this.addCriterion("update_log not between", value1, value2, "updateLog");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateTimeIsNull() {
            this.addCriterion("create_time is null");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateTimeIsNotNull() {
            this.addCriterion("create_time is not null");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateTimeEqualTo(String value) {
            this.addCriterion("create_time =", value, "createTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateTimeNotEqualTo(String value) {
            this.addCriterion("create_time <>", value, "createTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateTimeGreaterThan(String value) {
            this.addCriterion("create_time >", value, "createTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateTimeGreaterThanOrEqualTo(String value) {
            this.addCriterion("create_time >=", value, "createTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateTimeLessThan(String value) {
            this.addCriterion("create_time <", value, "createTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateTimeLessThanOrEqualTo(String value) {
            this.addCriterion("create_time <=", value, "createTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateTimeLike(String value) {
            this.addCriterion("create_time like", value, "createTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateTimeNotLike(String value) {
            this.addCriterion("create_time not like", value, "createTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateTimeIn(List<String> values) {
            this.addCriterion("create_time in", values, "createTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateTimeNotIn(List<String> values) {
            this.addCriterion("create_time not in", values, "createTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateTimeBetween(String value1, String value2) {
            this.addCriterion("create_time between", value1, value2, "createTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateTimeNotBetween(String value1, String value2) {
            this.addCriterion("create_time not between", value1, value2, "createTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateUserIsNull() {
            this.addCriterion("create_user is null");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateUserIsNotNull() {
            this.addCriterion("create_user is not null");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateUserEqualTo(String value) {
            this.addCriterion("create_user =", value, "createUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateUserNotEqualTo(String value) {
            this.addCriterion("create_user <>", value, "createUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateUserGreaterThan(String value) {
            this.addCriterion("create_user >", value, "createUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            this.addCriterion("create_user >=", value, "createUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateUserLessThan(String value) {
            this.addCriterion("create_user <", value, "createUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateUserLessThanOrEqualTo(String value) {
            this.addCriterion("create_user <=", value, "createUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateUserLike(String value) {
            this.addCriterion("create_user like", value, "createUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateUserNotLike(String value) {
            this.addCriterion("create_user not like", value, "createUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateUserIn(List<String> values) {
            this.addCriterion("create_user in", values, "createUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateUserNotIn(List<String> values) {
            this.addCriterion("create_user not in", values, "createUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateUserBetween(String value1, String value2) {
            this.addCriterion("create_user between", value1, value2, "createUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andCreateUserNotBetween(String value1, String value2) {
            this.addCriterion("create_user not between", value1, value2, "createUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateTimeIsNull() {
            this.addCriterion("update_time is null");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateTimeIsNotNull() {
            this.addCriterion("update_time is not null");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateTimeEqualTo(String value) {
            this.addCriterion("update_time =", value, "updateTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateTimeNotEqualTo(String value) {
            this.addCriterion("update_time <>", value, "updateTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateTimeGreaterThan(String value) {
            this.addCriterion("update_time >", value, "updateTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateTimeGreaterThanOrEqualTo(String value) {
            this.addCriterion("update_time >=", value, "updateTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateTimeLessThan(String value) {
            this.addCriterion("update_time <", value, "updateTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateTimeLessThanOrEqualTo(String value) {
            this.addCriterion("update_time <=", value, "updateTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateTimeLike(String value) {
            this.addCriterion("update_time like", value, "updateTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateTimeNotLike(String value) {
            this.addCriterion("update_time not like", value, "updateTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateTimeIn(List<String> values) {
            this.addCriterion("update_time in", values, "updateTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateTimeNotIn(List<String> values) {
            this.addCriterion("update_time not in", values, "updateTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateTimeBetween(String value1, String value2) {
            this.addCriterion("update_time between", value1, value2, "updateTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateTimeNotBetween(String value1, String value2) {
            this.addCriterion("update_time not between", value1, value2, "updateTime");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateUserIsNull() {
            this.addCriterion("update_user is null");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateUserIsNotNull() {
            this.addCriterion("update_user is not null");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateUserEqualTo(String value) {
            this.addCriterion("update_user =", value, "updateUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateUserNotEqualTo(String value) {
            this.addCriterion("update_user <>", value, "updateUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateUserGreaterThan(String value) {
            this.addCriterion("update_user >", value, "updateUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            this.addCriterion("update_user >=", value, "updateUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateUserLessThan(String value) {
            this.addCriterion("update_user <", value, "updateUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateUserLessThanOrEqualTo(String value) {
            this.addCriterion("update_user <=", value, "updateUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateUserLike(String value) {
            this.addCriterion("update_user like", value, "updateUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateUserNotLike(String value) {
            this.addCriterion("update_user not like", value, "updateUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateUserIn(List<String> values) {
            this.addCriterion("update_user in", values, "updateUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateUserNotIn(List<String> values) {
            this.addCriterion("update_user not in", values, "updateUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateUserBetween(String value1, String value2) {
            this.addCriterion("update_user between", value1, value2, "updateUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }

        public CardRecordHistoryExampleBase.Criteria andUpdateUserNotBetween(String value1, String value2) {
            this.addCriterion("update_user not between", value1, value2, "updateUser");
            return (CardRecordHistoryExampleBase.Criteria)this;
        }
    }
}
